package com.guonl.open.api.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

@Data
@Component
@ConfigurationProperties(prefix = "openapi")
public class OpenApiProperties {

    private String serviceUrl;

    private List<ApiKeyInfo> apiKeyList;

    @Data
    public static class ApiKeyInfo {
        private String apiKey;
        private String apiSecret;
    }


}
